package com.yizhiliulianta.home;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(value = "com.yizhiliulianta.*.mapper")
@ComponentScan(value = "com.yizhiliulianta")
@EnableCaching
@EnableHystrix
//@RibbonClient(name = "ape-cloud-sku", configuration = RuleConfig.class)
@EnableFeignClients
public class HomeApplication {
    public static void main(String[] args) {
        SpringApplication.run(HomeApplication.class);
    }
}
